<%--
  Created by IntelliJ IDEA.
  User: oldliu
  Date: 2023-04-06
  Time: 8:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%!int count=0;%>


  <%
      String[]ar={"上坟","出去浪","浪了一圈","有浪了一圈","浪中浪"};
      for (String s:ar) {
      %>
  <h1><%=s%></h1>
  <%
      }
  %>

<h2>
   <%-- <%
        out.println("本页面被访问了"+(++count)+"次");
    %>--%>
    <%=++count%>
</h2>
</body>
</html>
